package com.example.chat.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("tb_video")
public class Video {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String filePath = "";//视频录存路径
    private Integer chatAdminId;//聊天对象id
    private long createTime;//创建时间
    private Integer createAdmin;//创建人
    private int type;//1视频录制 2应急呼救
    @TableField(exist = false)
    private String createAdminName;
    @TableField(exist = false)
    private String chatAdminName;//聊天对象名称
    @TableField(exist = false)
    private String videoTypeName;

    private String name; // 视频标题

    private String cover;// 封面

    private int status; // 视频状态0或者10未发布 20待审核 25 审核未通过 30已发布 40 违规下架

    private long clickNum;// 点击数

    private long likeNum;// 点赞数

    private Integer videoType;// 视频分类

    private int isTop;// 是否置为A区展示 1是2否

}
